﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Observer_Pattern
{
    class Program
    {
        static void Main(string[] args)
        {
            StockGrabber stockGrabber = new StockGrabber();
            StockObserver observer1 = new StockObserver(stockGrabber);
            StockObserver observer2 = new StockObserver(stockGrabber);

            stockGrabber.setIBMPrice(102.00);
            stockGrabber.setAAPLPrice(12.24);
            stockGrabber.setGoogPrice(2323.23);

        }
    }
}
